﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SyncList.Business.ValueObject;

namespace SyncList.Business
{
    /// <summary>
    /// Interface which exposed all methods to compare two XML files with the same structure
    /// </summary>
    public interface ICompareService
    {
        /// <summary>
        /// Simple method which permit comparaison between two xml files with the same structure
        /// </summary>
        /// <param name="pFirstFile"></param>
        /// <param name="pSecondFile"></param>
        Dictionary<FileDef, int> CompareXml(FileDefCollection pFirstFile, FileDefCollection pSecondFile);

        /// <summary>
        /// Permit to get the longer Xml File List of movies.
        /// </summary>
        /// <param name="pFirstFile"></param>
        /// <param name="pSecondFile"></param>
        /// <returns></returns>
        Data GetLongerXml(Data pFirstFile, Data pSecondFile);
    }
}
